<script>
    //工具
    // setTimeout(() => {
    //     console.log('a')
    // })
    // console.log('同步')
    //异步

    new Promise((resolve, reject) => {
        resolve('ok')
    }).then(v => console.log(v))

    console.log('abc')
</script>
